<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#10498A;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<div class="desplegable">
		<?php  $this->Form->new_menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div class="permanencias form">
<?php echo $this->Form->create('Permanencia');?>
	<fieldset>
 		<legend><?php __('Editar Informe de factores que estimulan la deserci&oacute;n'); ?></legend>
 		<?php 			
 			$disable=($group_id == '6')?true:false; 					
 		?>
	<table>
		<tr>
			<td><?php echo $this->Form->input('estrategias',array('value'=>$datos['Permanencia']['estrategias'],'disabled'=>$disable));?></td>
			<td><?php echo $this->Form->input('permanencia',array('value'=>$datos['Permanencia']['permanencia'],'disabled'=>$disable));?></td>			
		</tr>	
		<tr>
			<td><?php echo $this->Form->input('factores',array('value'=>$datos['Permanencia']['factores'],'disabled'=>$disable));?></td>
			<td><?php echo $this->Form->input('resultados',array('value'=>$datos['Permanencia']['resultados'],'disabled'=>$disable));?></td>			
		</tr>
		<tr>
			<td><?php echo $this->Form->input('fortalezas',array('value'=>$datos['Permanencia']['fortalezas'],'disabled'=>$disable));?></td>
			<td><?php echo $this->Form->input('dificultades',array('value'=>$datos['Permanencia']['dificultades'],'disabled'=>$disable));?></td>			
		</tr>
		<tr>
			<td colspan='2'><?php echo $this->Form->input('lecciones',array('value'=>$datos['Permanencia']['lecciones'],'disabled'=>$disable));?></td>						
		</tr>	
	</table>
	<?php	
		echo $this->Form->input('zona_id',array('type'=>'hidden','value'=>$datos['Permanencia']['zona_id']));
		echo $this->Form->input('bimestre',array('type'=>'hidden','value'=>$datos['Permanencia']['bimestre']));
		echo $this->Form->input('id',array('type'=>'hidden','value'=>$datos['Permanencia']['id']));
		echo $this->Form->input('zona',array('type'=>'hidden','value'=>$zona));
		echo $this->Form->input('num',array('type'=>'hidden','value'=>$bimestre));
		echo $this->Form->input('year',array('type'=>'hidden','value'=>$year));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Guardar', true));?>
</div>